diagnosis of bacterial diseases